package com.hy.mapper;

import com.hy.domain.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hy.domain.dto.UserDTO;
import org.apache.ibatis.annotations.Param;

/**
* @author hou
* @description 针对表【user】的数据库操作Mapper
* @createDate 2023-04-16 15:16:29
* @Entity com.hy.domain.User
*/
public interface UserMapper extends BaseMapper<User> {
    Integer selectCountByEmailOrPhone(@Param("email") String email, @Param("phone") String phone);

    UserDTO findUserById(@Param("id") Long id);
}




